

* NOTE: PMX subjects do not pass the placebo test!!!





cd "C:\Documents and Settings\Kevin\Desktop\Brown Computer All\Brown Computer\RESEARCH\funglee\June Event\data\"
use "OBOEprojectCOMPLETE.dta", clear

label drop _all

gen valid_oboe=oboe_participant==1
gen valid_isa_rdd=isa_w1_type==1
gen valid_isa_rnp=isa_w1_type==2
gen valid_pmx=pmx_caseid<.
gen study_type=.
replace study_type=1 if valid_oboe==1
replace study_type=2 if valid_isa_rnp==1
replace study_type=3 if valid_isa_rdd==1
replace study_type=4 if valid_pmx==1
label def studytype 1 "OBOE" 2 "RNP" 3 "RDD" 4 "PMX" 
label val study_type studytype
label var study_type "Treatment and Control Groups"

gen treatment=.
replace treatment=1 if study_type==1
replace treatment=0 if study_type>1 & study_type<.
label def treatment 1 "OBOE" 0 "OTHER"
label val treatment treatment
label var treatment "Treatment and Control"


gen all_AGE=.
replace all_AGE=isa_w1_AGE if study_type==2|study_type==3
replace all_AGE=pmx_AGE if study_type==4
replace all_AGE=oboe_PR_AGE if study_type==1
label var all_AGE "respondent age in years"


gen all_agecat=1
replace all_agecat=2 if all_AGE>24
replace all_agecat=3 if all_AGE>34
replace all_agecat=4 if all_AGE>44
replace all_agecat=5 if all_AGE>54
replace all_agecat=6 if all_AGE>64
replace all_agecat=. if all_AGE==.

label def age 1 "17-24" 2 "25-34" 3 "35-44" 4 "45-54" 5 "55-64" 6 "66+"
label val all_agecat age



gen all_SEX=.
replace all_SEX=isa_w1_SEX if study_type==2|study_type==3
replace all_SEX=pmx_SEX if study_type==4
replace all_SEX=oboe_PR_SEX if study_type==1
label var all_SEX "respondent sex, 1=female 0=male"
label define SEX 1 "female" 0 "male" 
label value all_SEX SEX




***

gen all_RACE=.
replace all_RACE=isa_w1_RACE if study_type==2|study_type==3 
replace all_RACE=pmx_RACE if study_type==4
replace all_RACE=oboe_PR_RACE if study_type==1 
label var all_RACE "race, 1=wh 2=bk 3=lat 4=asn 5=oth"
label define RACE 1 "white/caucasian" 2 "black/african american" 3 "hispanic/latino" 4 "asian/asian american" 5 "other"
label value all_RACE RACE


gen all_WHITE=all_RACE
recode all_WHITE (2/5=0)

gen all_FAMINC=.
replace all_FAMINC=isa_w1_FAMINC if study_type==2|study_type==3
replace all_FAMINC=pmx_FAMINC if study_type==4
replace all_FAMINC=oboe_PR_FAMINC if study_type==1 
label var all_FAMINC "family income 7 categories"
label define FAMINC 1 "Less than $20k" 2 "$20k-$30k" 3 "$30k-$50k" 4 "$50k-$75k" 5 "$75k-$100k" 6 "$100k-$150k" 7 "More than $150k"
label value all_FAMINC FAMINC


gen all_EDUC=.
replace all_EDUC=isa_w1_EDUC if study_type==2|study_type==3
replace all_EDUC=pmx_EDUC if study_type==4
replace all_EDUC=oboe_PR_EDUC if study_type==1
label var all_EDUC "education 5 categories"
label define EDUC 1 "Did not complete high school" 2 "High school degree or equivalent" 3 "Some college" 4 "College degree" 5 "Graduate degree"
label value all_EDUC EDUC

gen all_PARTYID=.
replace all_PARTYID=isa_w1_PARTYID if study_type==2|study_type==3
replace all_PARTYID=pmx_PARTYID if study_type==4
replace all_PARTYID=oboe_PT_PARTYID if study_type==1
* replace all_PARTYID=oboe_REG_PARTYID * check coding!!
label var all_PARTYID "pid 1=dem 2=ind 3=rep 4=don't think"
label define PARTYID 1 "Democrat" 2 "Independent " 3 "Republican" 4 "Don't think" 
label value all_PARTYID PARTYID


gen all_IDEOLOGY=.
replace all_IDEOLOGY=isa_w1_IDEOLOGY if study_type==2|study_type==3
replace all_IDEOLOGY=pmx_IDEOLOGY if study_type==4
replace all_IDEOLOGY=oboe_PT_IDEOLOGY if study_type==1
label var all_IDEOLOGY "ideology 1=lib 2=mod 3=con 4=none" 
label define IDEOLOGY 1 "Liberal" 2 "Moderate" 3 "Conservative" 4 "None fit"
label value all_IDEOLOGY IDEOLOGY


gen all_POLINT=.
replace all_POLINT=isa_w1_POLINT if study_type==2|study_type==3
replace all_POLINT=pmx_POLINT if study_type==4
replace all_POLINT=oboe_PR_POLINT if study_type==1
label var all_POLINT "political interest, 1=not at all 4=very interested"
label define POLINT 1 "not at all" 2 "only slightly interested" 3 "somewhat interested" 4 "very interested"
label value all_POLINT POLINT

gen all_BORNUS=.
replace all_BORNUS=isa_w1_BORNUS if study_type==2|study_type==3
replace all_BORNUS=pmx_BORNUS if study_type==4
replace all_BORNUS=oboe_PR_BORNUS if study_type==1
label var all_BORNUS "born in US, 0=no 1=yes"
label define BORNUS 0 "no" 1 "yes"
label value all_BORNUS BORNUS

gen all_CITIZEN=.
replace all_CITIZEN=isa_w1_CITIZEN if study_type==2|study_type==3
replace all_CITIZEN=pmx_CITIZEN if study_type==4
replace all_CITIZEN=oboe_PR_CITIZEN if study_type==1
label var all_CITIZEN "US citizen, 0=no 1=yes"
label define CITIZEN 0 "no" 1 "yes"
label value all_CITIZEN CITIZEN

gen all_WORK=.
replace all_WORK=isa_w1_WORK if study_type==2|study_type==3
replace all_WORK=pmx_WORK if study_type==4
replace all_WORK=oboe_PR_WORK if study_type==1
label var all_WORK "work status, 1=work full-time 2=part-time 3=temp layed off 4=unemp. 5=retired 6=homemaker 7=student 8=disabled 9=other"
label define WORK 1 "full-time" 2 "part-time" 3 "temp/layed off" 4 "unemployed" 5 "retired" 6 "homemaker" 7 "student" 8 "diabled" 9 "other"
label value all_WORK WORK

gen all_MARITAL=.
replace all_MARITAL=isa_w1_MARITAL if study_type==2|study_type==3
replace all_MARITAL=pmx_MARITAL if study_type==4
replace all_MARITAL=oboe_PR_MARITAL if study_type==1
label var all_MARITAL "marital status, 1=married 2=living w/partner 3=widowed 4=separated 5=divorced 6=single"
label define MARITAL 1 "married" 2 "living w/partner" 3 "widowed" 4 "separated" 5 "divorced" 6 "single"
label value all_MARITAL MARITAL

/*
* this does not work:
gen all_TENURE=.
replace all_TENURE=isa_w1_TENURE if study_type==2|study_type==3
replace all_TENURE=pmx_TENURE if study_type==4
destring oboe_PR_TENURE, replace force
replace all_TENURE=oboe_PR_TENURE if study_type==1 
label var all_TENURE "Residence in neighborhood"
*/


gen all_TAXRICH_PR=.
replace all_TAXRICH_PR=isa_w1_DEF_TAXRICH if study_type==2|study_type==3
replace all_TAXRICH_PR=pmx_DEF_TAXRICH if study_type==4
replace all_TAXRICH_PR=oboe_PR_DEF_TAXRICH if study_type==1
label var all_TAXRICH_PR "raises taxes on wealthy to cut deficit, high=strong support"
label define DEF_TAXRICH 1 "strong oppose" 2 "somewhat oppose" 3 "neither" 4 "somewhat support" 5 "strongly support"
label value all_TAXRICH_PR DEF_TAXRICH

gen all_CUTPROG_PR=.
replace all_CUTPROG_PR=isa_w1_DEF_CUTPROG if study_type==2|study_type==3
replace all_CUTPROG_PR=pmx_DEF_CUTPROG if study_type==4
replace all_CUTPROG_PR=oboe_PR_DEF_CUTPROG if study_type==1
label var all_CUTPROG_PR "cut programs to cut deficit, high=strong support"
label define DEF_CUTPROG 1 "strong oppose" 2 "somewhat oppose" 3 "neither" 4 "somewhat support" 5 "strongly support"
label value all_CUTPROG_PR DEF_CUTPROG

gen all_TAXBOTH_PR=.
replace all_TAXBOTH_PR=isa_w1_DEF_TAXBOTH if study_type==2|study_type==3
replace all_TAXBOTH_PR=pmx_DEF_TAXBOTH if study_type==4
replace all_TAXBOTH_PR=oboe_PR_DEF_TAXBOTH if study_type==1
label var all_TAXBOTH_PR "raises taxes on mid-class & rich, high=strong support"
label define DEF_TAXBOTH 1 "strong oppose" 2 "somewhat oppose" 3 "neither" 4 "somewhat support" 5 "strongly support"
label value all_TAXBOTH_PR DEF_TAXBOTH

gen all_ENTITLE_PR=.
replace all_ENTITLE_PR=isa_w1_DEF_ENTITLE if study_type==2|study_type==3
replace all_ENTITLE_PR=pmx_DEF_ENTITLE if study_type==4
replace all_ENTITLE_PR=oboe_PR_DEF_ENTITLE if study_type==1
label var all_ENTITLE_PR "cut entitlements to cut deficit, high=strong support"
label define DEF_ENTITLE 1 "strong oppose" 2 "somewhat oppose" 3 "neither" 4 "somewhat support" 5 "strongly support"
label value all_ENTITLE_PR DEF_ENTITLE

gen all_DEFENSE_PR=.
replace all_DEFENSE_PR=isa_w1_DEF_DEFENSE if study_type==2|study_type==3
replace all_DEFENSE_PR=pmx_DEF_DEFENSE if study_type==4
replace all_DEFENSE_PR=oboe_PR_DEF_DEFENSE if study_type==1
label var all_DEFENSE_PR "cut defense spending to cut deficit, high=strong support"
label define DEF_DEFENSE 1 "strong oppose" 2 "somewhat oppose" 3 "neither" 4 "somewhat support" 5 "strongly support"
label value all_DEFENSE_PR DEF_DEFENSE

gen all_FEDSALES_PR=.
replace all_FEDSALES_PR=isa_w1_DEF_FEDSALES if study_type==2|study_type==3
replace all_FEDSALES_PR=pmx_DEF_FEDSALES if study_type==4
replace all_FEDSALES_PR=oboe_PR_DEF_FEDSALES if study_type==1
label var all_FEDSALES_PR "federal sales tax to cut deficit, high=strong support"
label define DEF_FEDSALES 1 "strong oppose" 2 "somewhat oppose" 3 "neither" 4 "somewhat support" 5 "strongly support"
label value all_FEDSALES_PR DEF_FEDSALES

gen all_NOCARE_PR=.
replace all_NOCARE_PR=isa_w1_EFF_NOCARE if study_type==2|study_type==3
replace all_NOCARE_PR=pmx_EFF_NOCARE if study_type==4
replace all_NOCARE_PR=oboe_PR_EFF_NOCARE if study_type==1
label var all_NOCARE_PR "don't care what R thinks, high=strongly disagree"
label define EFF_NOCARE 1 "strongly agree" 2 "somewhat agree" 3 "neither" 4 "somewhat disagree" 5 "strongly disagree"
label value all_NOCARE_PR EFF_NOCARE

gen all_NOSAY_PR=.
replace all_NOSAY_PR=isa_w1_EFF_NOSAY if study_type==2|study_type==3
replace all_NOSAY_PR=pmx_EFF_NOSAY if study_type==4
replace all_NOSAY_PR=oboe_PR_EFF_NOSAY if study_type==1
label var all_NOSAY_PR "R no say about govt, high=strongly disagree"
label define EFF_NOSAY 1 "strongly agree" 2 "somewhat agree" 3 "neither" 4 "somewhat disagree" 5 "strongly disagree"
label value all_NOSAY_PR EFF_NOSAY

gen all_WELLQUAL_PR=.
replace all_WELLQUAL_PR=isa_w1_EFF_WELLQUAL if study_type==2|study_type==3
replace all_WELLQUAL_PR=pmx_EFF_WELLQUAL if study_type==4
replace all_WELLQUAL_PR=oboe_PR_EFF_WELLQUAL if study_type==1
label var all_WELLQUAL_PR "R well-qualified for politics, high=strongly agree"
label define EFF_WELLQUAL 1 "strongly agree" 2 "somewhat agree" 3 "neither" 4 "somewhat disagree" 5 "strongly disagree"
label value all_WELLQUAL_PR EFF_WELLQUAL

gen all_WELLINFO_PR=.
replace all_WELLINFO_PR=isa_w1_EFF_WELLINFO if study_type==2|study_type==3
replace all_WELLINFO_PR=pmx_EFF_WELLINFO if study_type==4
replace all_WELLINFO_PR=oboe_PR_EFF_WELLINFO if study_type==1
label var all_WELLINFO_PR "R well-informed on politics, high=strongly agree]"
label define EFF_WELLINFO 1 "strongly agree" 2 "somewhat agree" 3 "neither" 4 "somewhat disagree" 5 "strongly disagree"
label value all_WELLINFO_PR EFF_WELLINFO

gen all_GOVTRUST_PR=.
replace all_GOVTRUST_PR=isa_w1_GOVTRUST if study_type==2|study_type==3
replace all_GOVTRUST_PR=pmx_GOVTRUST if study_type==4
replace all_GOVTRUST_PR=oboe_PR_GOVTRUST if study_type==1
label var all_GOVTRUST_PR "trust gov in DC, high=strongly agree]"
label define GOVTRUST 1 "strongly agree" 2 "somewhat agree" 3 "neither" 4 "somewhat disagree" 5 "strongly disagree"
label value all_GOVTRUST_PR GOVTRUST

gen all_EQUALOPP_PR=.
replace all_EQUALOPP_PR=isa_w1_EQUALOPP if study_type==2|study_type==3
replace all_EQUALOPP_PR=pmx_EQUALOPP if study_type==4
replace all_EQUALOPP_PR=oboe_PR_EQUALOPP if study_type==1
label var all_EQUALOPP_PR "should ensure equal opportunity, high=strongly agree]"
label define EQUALOPP 1 "strongly agree" 2 "somewhat agree" 3 "neither" 4 "somewhat disagree" 5 "strongly disagree"
label value all_EQUALOPP_PR EQUALOPP

gen all_EQUALTOOFAR_PR=.
replace all_EQUALTOOFAR_PR=isa_w1_EQUALTOOFAR if study_type==2|study_type==3
replace all_EQUALTOOFAR_PR=pmx_EQUALTOOFAR if study_type==4
replace all_EQUALTOOFAR_PR=oboe_PR_EQUALTOOFAR if study_type==1
label var all_EQUALTOOFAR_PR "push for equality too far, high=strongly disagree"
label define EQUALTOOFAR 1 "strongly agree" 2 "somewhat agree" 3 "neither" 4 "somewhat disagree" 5 "strongly disagree"
label value all_EQUALTOOFAR_PR EQUALTOOFAR

gen all_VOTE=.
replace all_VOTE=isa_w1_PP_VOTE if study_type==2|study_type==3
replace all_VOTE=pmx_PP_VOTE if study_type==4
replace all_VOTE=oboe_PT_PP_VOTE if study_type==1
label var all_VOTE "R voted in 2008 presidential elections 0=no 1=yes"
label define PP_VOTE 0 "No" 1 "Yes" 
label value all_VOTE PP_VOTE

gen all_MEETING=.
replace all_MEETING=isa_w1_PP_MEETING if study_type==2|study_type==3
replace all_MEETING=pmx_PP_MEETING if study_type==4
replace all_MEETING=oboe_PT_PP_MEETING if study_type==1
label var all_MEETING "R attended meetings, rallies, speeches in 2008 0=no 1=yes"
label define PP_MEETING 0 "No" 1 "Yes" 
label value all_MEETING PP_MEETING

gen all_CAMPAIGN=.
replace all_CAMPAIGN=isa_w1_PP_CAMPAIGN if study_type==2|study_type==3
replace all_CAMPAIGN=pmx_PP_CAMPAIGN if study_type==4
replace all_CAMPAIGN=oboe_PT_PP_CAMPAIGN if study_type==1
label var all_CAMPAIGN "R worked for party/candidate in 2008 0=no 1=yes"
label define PP_CAMPAIGN 0 "No" 1 "Yes"
label value all_CAMPAIGN PP_CAMPAIGN

gen all_CONTRIB=.
replace all_CONTRIB=isa_w1_PP_CONTRIB if study_type==2|study_type==3
replace all_CONTRIB=pmx_PP_CONTRIB if study_type==4
replace all_CONTRIB=oboe_PT_PP_CONTRIB if study_type==1
label var all_CONTRIB "R gave money to party/candidate in 2008 0=no 1=yes"
label define PP_CONTRIB 0 "No" 1 "Yes" 
label value all_CONTRIB PP_CONTRIB

gen all_COMMUNITY=.
replace all_COMMUNITY=isa_w1_PP_COMMUNITY if study_type==2|study_type==3
replace all_COMMUNITY=pmx_PP_COMMUNITY if study_type==4
replace all_COMMUNITY=oboe_PT_PP_COMMUNITY if study_type==1
label var all_COMMUNITY "R worked on community issue 0=no 1=yes"
label define PP_COMMUNITY  0 "No" 1 "Yes"
label value all_COMMUNITY PP_COMMUNITY

gen all_CONTACT=.
replace all_CONTACT=isa_w1_PP_CONTACT if study_type==2|study_type==3
replace all_CONTACT=pmx_PP_CONTACT if study_type==4
replace all_CONTACT=oboe_PT_PP_CONTACT if study_type==1
label var all_CONTACT "R contacted government official 0=no 1=yes"
label define PP_CONTACT 0 "No" 1 "Yes" 
label value all_CONTACT PP_CONTACT

gen all_DELIB=.
replace all_DELIB=isa_w1_PP_DELIB if study_type==2|study_type==3
replace all_DELIB=pmx_PP_DELIB if study_type==4
replace all_DELIB=oboe_PT_PP_DELIB if study_type==1
label var all_DELIB "R attended deliberative meeting 0=no 1=yes"
label define PP_DELIB 0 "No" 1 "Yes" 
label value all_DELIB PP_DELIB

gen all_PROTEST=.
replace all_PROTEST=isa_w1_PP_PROTEST if study_type==2|study_type==3
replace all_PROTEST=pmx_PP_PROTEST if study_type==4
replace all_PROTEST=oboe_PT_PP_PROTEST if study_type==1
label var all_PROTEST "R attended protest, demonstration 0=no 1=yes"
label define PP_PROTEST 0 "No" 1 "Yes"
label value all_PROTEST PP_PROTEST

gen all_RELIG=.
replace all_RELIG=isa_w1_PP_RELIG if study_type==2|study_type==3
replace all_RELIG=pmx_PP_RELIG if study_type==4
replace all_RELIG=oboe_PT_PP_RELIG if study_type==1
label var all_RELIG "R was active through place of worship 0=no 1=yes"
label define PP_RELIG 0 "No" 1 "Yes" 
label value all_RELIG PP_RELIG

label drop _all

gen all_TAXRICH_PT=.
replace all_TAXRICH_PT=isa_w1_DEF_TAXRICH if study_type==2|study_type==3
replace all_TAXRICH_PT=pmx_DEF_TAXRICH if study_type==4
replace all_TAXRICH_PT=oboe_PT_DEF_TAXRICH if study_type==1
label var all_TAXRICH_PT "raises taxes on wealthy to cut deficit, high=strong support"
label define DEF_TAXRICH 1 "strong oppose" 2 "somewhat oppose" 3 "neither" 4 "somewhat support" 5 "strongly support"
label value all_TAXRICH_PT DEF_TAXRICH

gen all_CUTPROG_PT=.
replace all_CUTPROG_PT=isa_w1_DEF_CUTPROG if study_type==2|study_type==3
replace all_CUTPROG_PT=pmx_DEF_CUTPROG if study_type==4
replace all_CUTPROG_PT=oboe_PT_DEF_CUTPROG if study_type==1
label var all_CUTPROG_PT "cut programs to cut deficit, high=strong support"
label define DEF_CUTPROG 1 "strong oppose" 2 "somewhat oppose" 3 "neither" 4 "somewhat support" 5 "strongly support"
label value all_CUTPROG_PT DEF_CUTPROG

gen all_TAXBOTH_PT=.
replace all_TAXBOTH_PT=isa_w1_DEF_TAXBOTH if study_type==2|study_type==3
replace all_TAXBOTH_PT=pmx_DEF_TAXBOTH if study_type==4
replace all_TAXBOTH_PT=oboe_PT_DEF_TAXBOTH if study_type==1
label var all_TAXBOTH_PT "raises taxes on mid-class & rich, high=strong support"
label define DEF_TAXBOTH 1 "strong oppose" 2 "somewhat oppose" 3 "neither" 4 "somewhat support" 5 "strongly support"
label value all_TAXBOTH_PT DEF_TAXBOTH

gen all_ENTITLE_PT=.
replace all_ENTITLE_PT=isa_w1_DEF_ENTITLE if study_type==2|study_type==3
replace all_ENTITLE_PT=pmx_DEF_ENTITLE if study_type==4
replace all_ENTITLE_PT=oboe_PT_DEF_ENTITLE if study_type==1
label var all_ENTITLE_PT "cut entitlements to cut deficit, high=strong support"
label define DEF_ENTITLE 1 "strong oppose" 2 "somewhat oppose" 3 "neither" 4 "somewhat support" 5 "strongly support"
label value all_ENTITLE_PT DEF_ENTITLE

gen all_DEFENSE_PT=.
replace all_DEFENSE_PT=isa_w1_DEF_DEFENSE if study_type==2|study_type==3
replace all_DEFENSE_PT=pmx_DEF_DEFENSE if study_type==4
replace all_DEFENSE_PT=oboe_PT_DEF_DEFENSE if study_type==1
label var all_DEFENSE_PT "cut defense spending to cut deficit, high=strong support"
label define DEF_DEFENSE 1 "strong oppose" 2 "somewhat oppose" 3 "neither" 4 "somewhat support" 5 "strongly support"
label value all_DEFENSE_PT DEF_DEFENSE

gen all_FEDSALES_PT=.
replace all_FEDSALES_PT=isa_w1_DEF_FEDSALES if study_type==2|study_type==3
replace all_FEDSALES_PT=pmx_DEF_FEDSALES if study_type==4
replace all_FEDSALES_PT=oboe_PT_DEF_FEDSALES if study_type==1
label var all_FEDSALES_PT "federal sales tax to cut deficit, high=strong support"
label define DEF_FEDSALES 1 "strong oppose" 2 "somewhat oppose" 3 "neither" 4 "somewhat support" 5 "strongly support"
label value all_FEDSALES_PT DEF_FEDSALES

gen all_NOCARE_PT=.
replace all_NOCARE_PT=isa_w1_EFF_NOCARE if study_type==2|study_type==3
replace all_NOCARE_PT=pmx_EFF_NOCARE if study_type==4
replace all_NOCARE_PT=oboe_PT_EFF_NOCARE if study_type==1
label var all_NOCARE_PT "don't care what R thinks, high=strongly disagree"
label define EFF_NOCARE 1 "strongly agree" 2 "somewhat agree" 3 "neither" 4 "somewhat disagree" 5 "strongly disagree"
label value all_NOCARE_PT EFF_NOCARE

gen all_NOSAY_PT=.
replace all_NOSAY_PT=isa_w1_EFF_NOSAY if study_type==2|study_type==3
replace all_NOSAY_PT=pmx_EFF_NOSAY if study_type==4
replace all_NOSAY_PT=oboe_PT_EFF_NOSAY if study_type==1
label var all_NOSAY_PT "R no say about govt, high=strongly disagree"
label define EFF_NOSAY 1 "strongly agree" 2 "somewhat agree" 3 "neither" 4 "somewhat disagree" 5 "strongly disagree"
label value all_NOSAY_PT EFF_NOSAY

gen all_WELLQUAL_PT=.
replace all_WELLQUAL_PT=isa_w1_EFF_WELLQUAL if study_type==2|study_type==3
replace all_WELLQUAL_PT=pmx_EFF_WELLQUAL if study_type==4
replace all_WELLQUAL_PT=oboe_PT_EFF_WELLQUAL if study_type==1
label var all_WELLQUAL_PT "R well-qualified for politics, high=strongly agree"
label define EFF_WELLQUAL 1 "strongly agree" 2 "somewhat agree" 3 "neither" 4 "somewhat disagree" 5 "strongly disagree"
label value all_WELLQUAL_PT EFF_WELLQUAL

gen all_WELLINFO_PT=.
replace all_WELLINFO_PT=isa_w1_EFF_WELLINFO if study_type==2|study_type==3
replace all_WELLINFO_PT=pmx_EFF_WELLINFO if study_type==4
replace all_WELLINFO_PT=oboe_PT_EFF_WELLINFO if study_type==1
label var all_WELLINFO_PT "R well-informed on politics, high=strongly agree]"
label define EFF_WELLINFO 1 "strongly agree" 2 "somewhat agree" 3 "neither" 4 "somewhat disagree" 5 "strongly disagree"
label value all_WELLINFO_PT EFF_WELLINFO

gen all_GOVTRUST_PT=.
replace all_GOVTRUST_PT=isa_w1_GOVTRUST if study_type==2|study_type==3
replace all_GOVTRUST_PT=pmx_GOVTRUST if study_type==4
replace all_GOVTRUST_PT=oboe_PT_GOVTRUST if study_type==1
label var all_GOVTRUST_PT "trust gov in DC, high=strongly agree]"
label define GOVTRUST 1 "strongly agree" 2 "somewhat agree" 3 "neither" 4 "somewhat disagree" 5 "strongly disagree"
label value all_GOVTRUST_PT GOVTRUST

gen all_EQUALOPP_PT=.
replace all_EQUALOPP_PT=isa_w1_EQUALOPP if study_type==2|study_type==3
replace all_EQUALOPP_PT=pmx_EQUALOPP if study_type==4
replace all_EQUALOPP_PT=oboe_PT_EQUALOPP if study_type==1
label var all_EQUALOPP_PT "should ensure equal opportunity, high=strongly agree]"
label define EQUALOPP 1 "strongly agree" 2 "somewhat agree" 3 "neither" 4 "somewhat disagree" 5 "strongly disagree"
label value all_EQUALOPP_PT EQUALOPP

gen all_EQUALTOOFAR_PT=.
replace all_EQUALTOOFAR_PT=isa_w1_EQUALTOOFAR if study_type==2|study_type==3
replace all_EQUALTOOFAR_PT=pmx_EQUALTOOFAR if study_type==4
replace all_EQUALTOOFAR_PT=oboe_PT_EQUALTOOFAR if study_type==1
label var all_EQUALTOOFAR_PT "push for equality too far, high=strongly disagree"
label define EQUALTOOFAR 1 "strongly agree" 2 "somewhat agree" 3 "neither" 4 "somewhat disagree" 5 "strongly disagree"
label value all_EQUALTOOFAR_PT EQUALTOOFAR



* remaining: wave 2

gen nov_VOTED=.
replace nov_VOTED=oboe_w2isa_q1 if study_type==1
replace nov_VOTED=isa_w2_q1 if study_type==2|study_type==3
replace nov_VOTED=pmx_pq1 if study_type==4
recode nov_VOTED (4=1) (1/3=0) (8=.)
label var nov_VOTED "Sure I voted"
capture label drop temp
label define temp 1 "Voted" 0 "Did not vote"
label val nov_VOTED temp

gen nov_BUDGETMIP=.
replace nov_BUDGETMIP=oboe_w2isa_q2 if study_type==1
replace nov_BUDGETMIP=isa_w2_q2 if study_type==2|study_type==3
replace nov_BUDGETMIP=pmx_pq2 if study_type==4
recode nov_BUDGETMIP (3=1) (1/2=0) (4/98=0) (99=.)
label var nov_BUDGETMIP "If voted, Budget/Deficit is the MIP"
label drop temp
label def temp 1 "Budget is MIP" 0 "Other issue is MIP"
label val nov_BUDGETMIP temp

gen nov_TAXRICH=.
replace nov_TAXRICH=oboe_w2isa_q11a if study_type==1
replace nov_TAXRICH=isa_w2_q11a if study_type==2|study_type==3
replace nov_TAXRICH=pmx_pq6_a if study_type==4
replace nov_TAXRICH=. if nov_TAXRICH>5
label var nov_TAXRICH "Raise taxes on wealthy"
label drop temp
label def temp 1 "strongly agree" 2 "somewhat agree" 3 "neither" 4 "somewhat disagree" 5 "strongly disagree"
label val nov_TAXRICH temp

gen nov_CUTPROG=.
replace nov_CUTPROG=oboe_w2isa_q11b if study_type==1
replace nov_CUTPROG=isa_w2_q11b if study_type==2|study_type==3
replace nov_CUTPROG=pmx_pq6_b if study_type==4
replace nov_CUTPROG=. if nov_CUTPROG>5
label var nov_CUTPROG "Cut discretionary programs"
label drop temp
label def temp 1 "strongly agree" 2 "somewhat agree" 3 "neither" 4 "somewhat disagree" 5 "strongly disagree"
label val nov_CUTPROG temp

gen nov_TAXBOTH=.
replace nov_TAXBOTH=oboe_w2isa_q11c if study_type==1
replace nov_TAXBOTH=isa_w2_q11c if study_type==2|study_type==3
replace nov_TAXBOTH=pmx_pq6_c if study_type==4
replace nov_TAXBOTH=. if nov_TAXBOTH>5
label var nov_TAXBOTH "Raise taxes on middle class and wealthy"
label drop temp
label def temp 1 "strongly agree" 2 "somewhat agree" 3 "neither" 4 "somewhat disagree" 5 "strongly disagree"
label val nov_TAXBOTH temp

gen nov_ENTITLE=.
replace nov_ENTITLE=oboe_w2isa_q11d if study_type==1
replace nov_ENTITLE=isa_w2_q11d if study_type==2|study_type==3
replace nov_ENTITLE=pmx_pq6_d if study_type==4
replace nov_ENTITLE=. if nov_ENTITLE>5
label var nov_ENTITLE "Cut entitlement growth"
label drop temp
label def temp 1 "strongly agree" 2 "somewhat agree" 3 "neither" 4 "somewhat disagree" 5 "strongly disagree"
label val nov_ENTITLE temp

gen nov_DEFENSE=.
replace nov_DEFENSE=oboe_w2isa_q11e if study_type==1
replace nov_DEFENSE=isa_w2_q11e if study_type==2|study_type==3
replace nov_DEFENSE=pmx_pq6_e if study_type==4
replace nov_DEFENSE=. if nov_DEFENSE>5
label var nov_DEFENSE "Cut entitlement growth"
label drop temp
label def temp 1 "strongly agree" 2 "somewhat agree" 3 "neither" 4 "somewhat disagree" 5 "strongly disagree"
label val nov_DEFENSE temp

gen nov_FEDSALES=.
replace nov_FEDSALES=oboe_w2isa_q11f if study_type==1
replace nov_FEDSALES=isa_w2_q11f if study_type==2|study_type==3
replace nov_FEDSALES=pmx_pq6_f if study_type==4
replace nov_FEDSALES=. if nov_FEDSALES>5
label var nov_FEDSALES "Cut entitlement growth"
label drop temp
label def temp 1 "strongly agree" 2 "somewhat agree" 3 "neither" 4 "somewhat disagree" 5 "strongly disagree"
label val nov_FEDSALES temp

gen nov_NOCARE=.
replace nov_NOCARE=oboe_w2isa_q12a if study_type==1
replace nov_NOCARE=isa_w2_q12a if study_type==2|study_type==3
replace nov_NOCARE=pmx_pq7a if study_type==4
replace nov_NOCARE=. if nov_NOCARE>5
label var nov_NOCARE "Cut entitlement growth"
label drop temp
label def temp 1 "strongly agree" 2 "somewhat agree" 3 "neither" 4 "somewhat disagree" 5 "strongly disagree"
label val nov_NOCARE temp

gen nov_NOSAY=.
replace nov_NOSAY=oboe_w2isa_q12b if study_type==1
replace nov_NOSAY=isa_w2_q12b if study_type==2|study_type==3
replace nov_NOSAY=pmx_pq7b if study_type==4
replace nov_NOSAY=. if nov_NOSAY>5
label var nov_NOSAY "Cut entitlement growth"
label drop temp
label def temp 1 "strongly agree" 2 "somewhat agree" 3 "neither" 4 "somewhat disagree" 5 "strongly disagree"
label val nov_NOSAY temp

gen nov_WELLQUAL=.
replace nov_WELLQUAL=oboe_w2isa_q12c if study_type==1
replace nov_WELLQUAL=isa_w2_q12c if study_type==2|study_type==3
replace nov_WELLQUAL=pmx_pq7c if study_type==4
replace nov_WELLQUAL=. if nov_WELLQUAL>5
label var nov_WELLQUAL "Cut entitlement growth"
label drop temp
label def temp 1 "strongly agree" 2 "somewhat agree" 3 "neither" 4 "somewhat disagree" 5 "strongly disagree"
label val nov_WELLQUAL temp

gen nov_WELLINFO=.
replace nov_WELLINFO=oboe_w2isa_q12d if study_type==1
replace nov_WELLINFO=isa_w2_q12d if study_type==2|study_type==3
replace nov_WELLINFO=pmx_pq7d if study_type==4
replace nov_WELLINFO=. if nov_WELLINFO>5
label var nov_WELLINFO "Cut entitlement growth"
label drop temp
label def temp 1 "strongly agree" 2 "somewhat agree" 3 "neither" 4 "somewhat disagree" 5 "strongly disagree"
label val nov_WELLINFO temp

gen nov_GOVTRUST=.
replace nov_GOVTRUST=oboe_w2isa_q12e if study_type==1
replace nov_GOVTRUST=isa_w2_q12e if study_type==2|study_type==3
replace nov_GOVTRUST=pmx_pq7e if study_type==4
replace nov_GOVTRUST=. if nov_GOVTRUST>5
label var nov_GOVTRUST "Cut entitlement growth"
label drop temp
label def temp 1 "strongly agree" 2 "somewhat agree" 3 "neither" 4 "somewhat disagree" 5 "strongly disagree"
label val nov_GOVTRUST temp

gen nov_BUDGETNEWS=.
replace nov_BUDGETNEWS=oboe_w2isa_p9 if study_type==1
replace nov_BUDGETNEWS=isa_w2_q13 if study_type==2|study_type==3
* not in survey: replace nov_BUDGETNEWS=pmx_ if study_type==4
replace nov_BUDGETNEWS=. if nov_BUDGETNEWS>4
label var nov_BUDGETNEWS "Follow budget in news"
label drop temp
label def temp 1 "very closely" 2 "somewhat closely" 3 "not all that closely" 4 "Not at all" 
label val nov_BUDGETNEWS temp

gen nov_HEARDCOMM=.
replace nov_HEARDCOMM=oboe_w2isa_p10a1 if study_type==1 & oboe_w2isa_p10aver==1
replace nov_HEARDCOMM=oboe_w2isa_p10a2 if study_type==1 & oboe_w2isa_p10aver==2
replace nov_HEARDCOMM=isa_w2_q13a1 if study_type==2|study_type==3 & isa_w2_q13aver==1
replace nov_HEARDCOMM=isa_w2_q13a2 if study_type==2|study_type==3 & isa_w2_q13aver==2
replace nov_HEARDCOMM=pmx_pq9a if study_type==4 & pmx_pq9a < 8
replace nov_HEARDCOMM=pmx_pq9b if study_type==4 & pmx_pq9a < 8
replace nov_HEARDCOMM=. if nov_HEARDCOMM>8
label var nov_HEARDCOMM "Heard of Commission"
label drop temp
label def temp 1 "yes" 2 "no" 8 "not sure"  
label val nov_HEARDCOMM temp

gen nov_SUPPORTCOMM=.
replace nov_SUPPORTCOMM=oboe_w2isa_p10b if study_type==1
replace nov_SUPPORTCOMM=isa_w2_q13b if study_type==2|study_type==3
replace nov_SUPPORTCOMM=pmx_pq10 if study_type==4
replace nov_SUPPORTCOMM=. if nov_SUPPORTCOMM>4
label var nov_SUPPORTCOMM "Support Commission Recs"
label drop temp
label def temp 1 "support" 2 "oppose" 3 "neither" 4 "don't know enough" 
label val nov_SUPPORTCOMM temp

gen nov_BUDGETCONTACT=.
replace nov_BUDGETCONTACT=oboe_w2isa_p11 if study_type==1
replace nov_BUDGETCONTACT=isa_w2_q14 if study_type==2|study_type==3
replace nov_BUDGETCONTACT=pmx_pq11 if study_type==4
replace nov_BUDGETCONTACT=. if nov_BUDGETCONTACT>8
label var nov_BUDGETCONTACT "Contacted for action on budget/deficit"
label drop temp
label def temp 1 "yes" 2 "no" 8 "don't know"  
label val nov_BUDGETCONTACT temp

gen nov_MEETING=.
replace nov_MEETING=oboe_w2isa_p14a if study_type==1
replace nov_MEETING=isa_w2_q15a if study_type==2|study_type==3
replace nov_MEETING=pmx_pq12_1 if study_type==4
recode nov_MEETING (1=1) (2=0) (8/9=.) 
label var nov_MEETING "attended neighborhood mtg on budget"
label drop temp
label def temp 1 "yes" 0 "no"   
label val nov_MEETING temp

gen nov_PETITION=.
replace nov_PETITION=oboe_w2isa_p14b if study_type==1
replace nov_PETITION=isa_w2_q15b if study_type==2|study_type==3
replace nov_PETITION=pmx_pq12_2 if study_type==4
recode nov_PETITION (1=1) (2=0) (8/9=.) 
label var nov_PETITION "signed petition on budget"
label drop temp
label def temp 1 "yes" 0 "no"   
label val nov_PETITION temp

gen nov_VOLUNTEER=.
replace nov_VOLUNTEER=oboe_w2isa_p14c if study_type==1
replace nov_VOLUNTEER=isa_w2_q15c if study_type==2|study_type==3
replace nov_VOLUNTEER=pmx_pq12_3 if study_type==4
recode nov_VOLUNTEER (1=1) (2=0) (8/9=.) 
label var nov_VOLUNTEER "worked/vol for org or politician on budget"
label drop temp
label def temp 1 "yes" 0 "no"   
label val nov_VOLUNTEER temp

gen nov_CONTRIB=.
replace nov_CONTRIB=oboe_w2isa_p14d if study_type==1
replace nov_CONTRIB=isa_w2_q15d if study_type==2|study_type==3
replace nov_CONTRIB=pmx_pq12_4 if study_type==4
recode nov_CONTRIB (1=1) (2=0) (8/9=.) 
label var nov_CONTRIB "contrib $ to org or politician on budget"
label drop temp
label def temp 1 "yes" 0 "no"   
label val nov_CONTRIB temp

gen nov_CONTACTPOL=.
replace nov_CONTACTPOL=oboe_w2isa_p14e if study_type==1
replace nov_CONTACTPOL=isa_w2_q15e if study_type==2|study_type==3
replace nov_CONTACTPOL=pmx_pq12_5 if study_type==4
recode nov_CONTACTPOL (1=1) (2=0) (8/9=.) 
label var nov_CONTACTPOL "contacted politician on budget"
label drop temp
label def temp 1 "yes" 0 "no"   
label val nov_CONTACTPOL temp

gen nov_CONTACTMEDIA=.
replace nov_CONTACTMEDIA=oboe_w2isa_p14f if study_type==1
replace nov_CONTACTMEDIA=isa_w2_q15f if study_type==2|study_type==3
replace nov_CONTACTMEDIA=pmx_pq12_6 if study_type==4
recode nov_CONTACTMEDIA (1=1) (2=0) (8/9=.) 
label var nov_CONTACTMEDIA "contacted media on budget"
label drop temp
label def temp 1 "yes" 0 "no"   
label val nov_CONTACTMEDIA temp





